package com.ibeeking.found.upms.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TenantAuthRoleUserDO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-02 15:29
 **/
@Data
@TableName("upms_tenant_auth_role_user")
public class TenantAuthRoleUserDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 授权租户用户id
     */
    @TableField(value = "tenant_user_id")
    private Long tenantUserId;

    /**
     * 租户被授权角色id
     */
    @TableField(value = "tenant_auth_role_id")
    private Long tenantAuthRoleId;
}
